import request from '@/utils/request'

// 查询refundOrderDetail列表
export function listRefundOrderDetail(query) {
  return request({
    url: '/costumeShop/refundOrderDetail/list',
    method: 'get',
    params: query
  })
}

// 查询refundOrderDetail详细
export function getRefundOrderDetail(refundOrderDetailId) {
  return request({
    url: '/costumeShop/refundOrderDetail/' + refundOrderDetailId,
    method: 'get'
  })
}

// 新增refundOrderDetail
export function addRefundOrderDetail(data) {
  return request({
    url: '/costumeShop/refundOrderDetail',
    method: 'post',
    data: data
  })
}

// 修改refundOrderDetail
export function updateRefundOrderDetail(data) {
  return request({
    url: '/costumeShop/refundOrderDetail',
    method: 'put',
    data: data
  })
}

// 删除refundOrderDetail
export function delRefundOrderDetail(refundOrderDetailId) {
  return request({
    url: '/costumeShop/refundOrderDetail/' + refundOrderDetailId,
    method: 'delete'
  })
}
